package com.study.designmodes.service.strategy.lmpl;

import com.study.designmodes.enums.BusinessCodeEnum;
import com.study.designmodes.enums.InsuranceCategoryEnum;
import com.study.designmodes.service.annotation.BusinessTaskAnnotation;
import com.study.designmodes.service.strategy.BusinessTaskHandler;
import org.springframework.stereotype.Service;

/**
 * @author yangyanbin
 * @since 20221122
 **/
@Service
@BusinessTaskAnnotation(categoryCode = InsuranceCategoryEnum.SOCINS, businessCode = BusinessCodeEnum.DECLARE_INSURANCE_REGISTER)
public class BusinessTaskImpl implements BusinessTaskHandler {
    /**
     * @param taskName
     * @Description: 处理任务
     * @Param: []
     * @return:
     */
    @Override
    public void handleBusinessTask(String taskName) {
        System.out.println("我只负责处理社保的人员参保业务");

    }
}
